package com.etc.mapper;

import com.etc.entity.Advert;
import com.etc.entity.Notice;

import java.util.List;

public interface AdvertMapper {

    //增加广告
    void advertAdd(Advert advert);
    //删除广告
    void advertDelete(int id);
    //查找广告
    Advert advertQueryById(int id);
    //修改广告
    void advertModify(Advert advert);
    //查询所有广告
    List<Advert> advertQueryAll();
    //按广告名称查询
    List<Advert> advertQueryByName(String advert_name);
}
